GIT_SHA1 points to the sha1 of upstream.
authorSandro Knauß <hefee@debian.org>
Tue, 30 Jul 2024 10:35:29 +0000 (12:35 +0200)
committerSandro Knauß <hefee@debian.org>
Sat, 5 Apr 2025 18:14:42 +0000 (20:14 +0200)
Origin: Debian
Forwarded: not-needed
Last-Update: 2024-07-30

Gbp-Pq: Name 0004-GIT_SHA1-points-to-the-sha1-of-upstream.patch

CMakeLists.txt

index 5b7448b2e3625bc56dea5d6de1663c500eda1254..ee4a394a51ce923773ee80249d93d7259e03d2b7 100644 (file)
@@ -112,9 +112,8 @@ include(GNUInstallDirs)
 include(DefineInstallationPaths)
 include(GenerateExportHeader)
 
-include(GetGitRevisionDescription)
-
-get_git_head_revision(GIT_REFSPEC GIT_SHA1)
+# On Debian we always have use a released version
+set(GIT_SHA1 "GITDIR-NOTFOUND")
 
 add_definitions(
     -DQT_DISABLE_DEPRECATED_BEFORE=0x051200